programs.fish.functions.<name>.inheritVariable

Snapshots the value of the specified variable and defines a local variable with that same name and value when the function is defined.

Type
null or string
Default
null